package com.cloud.custom.tasklist.entity;

import javax.persistence.*;

@Table(name = "task_list_menu_part")
public class TaskListMenuPart {
	@Id
	@Column(name = "task_list_id")
	private Long taskListId;

	@Id
	@Column(name = "menu_id")
	private Long menuId;

	@Id
	@Column(name = "part_id")
	private Long partId;

	@Id
	@Column(name = "act_def_id")
	private Long actDefId;

	@Column(name = "auth_code")
	private int authCode;

	/**
	 * @return menu_id
	 */
	public Long getMenuId() {
		return menuId;
	}

	/**
	 * @param menuId
	 */
	public void setMenuId(Long menuId) {
		this.menuId = menuId;
	}

	/**
	 * @return part_id
	 */
	public Long getPartId() {
		return partId;
	}

	/**
	 * @param partId
	 */
	public void setPartId(Long partId) {
		this.partId = partId;
	}

	public Long getActDefId() {
		return actDefId;
	}

	public void setActDefId(Long actDefId) {
		this.actDefId = actDefId;
	}

	public Long getTaskListId() {
		return taskListId;
	}

	public void setTaskListId(Long taskListId) {
		this.taskListId = taskListId;
	}

	public int getAuthCode() {
		return authCode;
	}

	public void setAuthCode(int authCode) {
		this.authCode = authCode;
	}

}